Skip to content

ref(symbolicator): Changes custom metrics backend to metrics-rs#1899

Merged
Dav1dde merged 4 commits intomasterfrom
dav1d/metrics-rs
Apr 8, 2026
Merged

ref(symbolicator): Changes custom metrics backend to metrics-rs#1899
Dav1dde merged 4 commits intomasterfrom
dav1d/metrics-rs

Conversation

@Dav1dde
Copy link
Copy Markdown
Member

@Dav1dde Dav1dde commented Mar 11, 2026

Switches the custom metrics backend to metrics-rs.

High level decisions:

  • No more support for sets, I actually remember why we added the set metrics, these are no longer needed, it's fine.
  • Make allocations explicit, metrics-rs needs either owned or &'static references. Instead of hiding these allocations I followed metrics-rs and let the caller allocate. That surfaced a few cases where we can turn &str into &'static str.

Not a breaking change, the statsd addr and other config is still supported, just now there is also support for unix domain sockets.

Closes: #1885

@Dav1dde Dav1dde requested a review from a team as a code owner March 11, 2026 13:48
Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

@Dav1dde Dav1dde merged commit 70be50a into master Apr 8, 2026
40 of 43 checks passed
@Dav1dde Dav1dde deleted the dav1d/metrics-rs branch April 8, 2026 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move metrics backend to metrics-rs ecosystem

2 participants